package com.hongtech.modules.knowledge.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.hongtech.common.page.PageData;
import com.hongtech.common.service.impl.CrudServiceImpl;
import com.hongtech.modules.knowledge.dto.DrugInfoDTO;
import com.hongtech.modules.knowledge.entity.DrugInfoEntity;
import com.hongtech.modules.knowledge.mapper.DrugInfoMapper;
import com.hongtech.modules.knowledge.service.DrugInfoService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 药品知识表
 *
 * @author admin 123456789@qq.com
 * @since 1.0.0 2023-09-01
 */
@Service
public class DrugInfoServiceImpl extends CrudServiceImpl<DrugInfoMapper, DrugInfoEntity, DrugInfoDTO> implements DrugInfoService {

    @Override
    public PageData<DrugInfoDTO> pageDrugInfo(Map<String, Object> params, LambdaQueryWrapper<DrugInfoEntity> ew) {
        return this.pages(params, ew);
    }

}
